create_file_list:
	@echo ""                                                             ; \
	find $(00_dir_dev_code) \( -name "*.h" -o -name "*.cpp" -o -name ".c" \) >> $(00_dir_dev)/.files ; 





#@public@|emacs|Generates an 'ebrowser' and an 'etags' file for the Project
#@public_detailed@@|emacs|Syntax: make project=<project-name> emacs 
#@public_detailed@@|emacs|The BROWSE and TAGS files are generated in 'tenacitas.build_system/cpp/bin/<project-name>'
emacs:
	$(00_show) ""                                                           ; \
	echo "**************************************** "                     ; \
	echo "Generating browser info for $(00_project) "                       ; \
	rm -f $(00_dir_dev)/.files 2> /dev/null                                 ; \
	$(00_make_cmd) 01_prj_chain chain_target=create_file_list                  ; \
	$(00_make_cmd) create_file_list                                         ; \
	ebrowse --files=$(00_dir_dev)/.files -o $(00_dir_dev_prj)/BROWSE 2> /dev/null  ; \
	cat $(00_dir_dev)/.files | xargs etags -o $(00_dir_dev_prj)/TAGS               ; 

